package com.hunt.dao;

import com.hunt.model.app.FinancialDataInfo;
import com.hunt.model.app.QuotationsFlowBefor;
import com.hunt.model.dto.FinancialData;
import com.hunt.model.entity.stockallmessagemysql;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FinancialDataMapper {

    int saveOrUpdate(FinancialDataInfo financialDataInfo);

    int saveOrUpdateNew(FinancialData financialData);

    int delByDate(@Param("updateTime")String updateTime);

    List<String> findAllStockCode();

    List<FinancialDataInfo> findAll();

    stockallmessagemysql findone(@Param("code")String code);

    QuotationsFlowBefor findasquotationsflow(@Param("code")String code);
}
